package com.zkthink.ceres.store.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

import java.util.Date;

import static com.baomidou.mybatisplus.annotation.SqlCondition.LIKE;

@ApiModel("评论")
@Data
public class CommentDto {
    /**
     * 评论内容
     */
    @ApiModelProperty(value = "评论内容")
    private String commentText;

    @ApiModelProperty(value = "是否匿名")
    private Boolean hideFlag;
    /**
     * 会员昵称
     */
    @ApiModelProperty(value = "会员昵称")
    private String nickname;
    /**
     * 会员头像
     */
    @ApiModelProperty(value = "会员头像")
    private String headimg;
    @ApiModelProperty(value = "评价时间")
    private Date createTime;
}
